//
//  YYT_DataBaseSingleton.h
//  AudioVisualFeast
//
//  Created by 张琪 on 16/2/27.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QL_DataBaseSingleton : NSObject
+ (instancetype)shareDataBase;

- (void)openDB;

- (void)closeDB;

- (void)creatTable;

- (void)insertDB:(NSString *)ids withTitle:(NSString *)title withImageUrl:(NSString *)imageUrl;

// 查询
- (NSString *)selectDataBase:(NSString *)ids;

// 查询数组
-(NSMutableArray *)selectDataBasearray;

// 删除
-(void)deleteSQL:(NSString *)ids;

- (NSMutableArray *)chaxunseebiao;

-(void)createSeeTable;

-(void)insertSeeDataBase:(NSString *)ids withTitle:(NSString *)title withImageurl:(NSString *)imageurl;

- (NSString *)selectSeeDataBase:(NSString *)ids;

-(NSMutableArray *)selectSeeDataBasearray;

-(void)deleteSeeSQL:(NSString *)ids;



- (void)deleteTable;
- (void)deleteSeeTable;


@end
